<%@page import="com.tlight.modelos.Prato"%>
<%@page import="com.tlight.modelos.Dependente"%>
<%@page import="com.tlight.modelos.Nutricionista"%>
<%@page import="com.tlight.modelos.Responsavel"%>
<%@page import="com.tlight.fachada.Fachadat"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.*"%>
<%@ page import="com.tlight.*"%>


<%
	Fachadat procurar = Fachadat.getInstancia();
	HttpSession sessap = request.getSession();
	
	Responsavel	resp = (Responsavel) session.getAttribute("usuario_logado");
	application.setAttribute("usuario_logado", resp);
	
	List<Dependente> dep = (List<Dependente>) procurar.prucurarResponsavel(resp.getId());
	application.setAttribute("todos_dependentes", dep);
	
	List<Prato> pra = procurar.listaTodosPratos();
	application.setAttribute("todos_pratos", pra);

	response.sendRedirect("montar_cardapio.jsp");
%>